package com.guchenbo.example.ds.array;

/**
 * Created by CreGu on 2016/5/25.
 */
public class OrderArrayApp {
    public static void main(String[] args) {
        OrderArray array = new OrderArray(4);
        array.insert(11);
        array.insert(21);
        array.insert(51);
        array.insert(31);

        array.display();
        System.out.println(array.find(51));
        System.out.println(array.delete(31));
        array.display();
    }
}
